package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user1 where uname=#{uname} and pwd=#{pwd}")
    User findByName(@Param("uname")String uname,@Param("pwd") String pwd);
}
